home *** CD-ROM | disk | FTP | other *** search
/ Dynamic Graphics Magazine (Alt) / Dynamic Graphics Magazine (Version B).iso / pc / dgm / tutor.dir / 00002.ls < prev    next >
Encoding:
Text File  |  1997-03-25  |  428 b   |  24 lines

  1. on keyDown
  2.   if the key = 1 then
  3.     set the soundLevel to 1
  4.   end if
  5.   if the key = 2 then
  6.     set the soundLevel to 2
  7.   end if
  8.   if the key = 3 then
  9.     set the soundLevel to 3
  10.   end if
  11.   if the key = 4 then
  12.     set the soundLevel to 4
  13.   end if
  14.   if the key = 5 then
  15.     set the soundLevel to 5
  16.   end if
  17.   if the key = 6 then
  18.     set the soundLevel to 6
  19.   end if
  20.   if the key = 7 then
  21.     set the soundLevel to 7
  22.   end if
  23. end
  24.